﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace foursquare.Foursquare
{
    [JsonObject]
    public class User
    {
        [JsonProperty]
        public int id { get; set; }
        [JsonProperty]
        public string firstname { get; set; }
        [JsonProperty]
        public string lastname { get; set; }
        [JsonProperty]
        public string photo { get; set; }
        [JsonProperty]
        public string gender { get; set; }
        [JsonProperty]
        public string twitter { get; set; }
        [JsonProperty]
        public string facebook { get; set; }

        [JsonProperty]
        public string phone { get; set; }
        [JsonProperty]
        public string email { get; set; }
        [JsonProperty]
        public City city { get; set; }
        [JsonProperty]
        public Checkin checkin { get; set; }
        [JsonProperty]
        public List<Badge> badges { get; set; }

        public override string ToString()
        {
            return firstname;
        }
    }
}
